<template>
  <div class="header">
    <!-- logo -->
    <a href="/">
      <img
        class="header-logo"
        src="../../assets/logo.png"
        width="25px"
        height="25px"
        alt="logo"
      />
      <span class="header-title">梦学谷会员管理系统</span>
    </a>

    <!-- 下拉菜单 -->
    <el-dropdown trigger="hover">
      <span class="el-dropdown-link">
        admin<i class="el-icon-arrow-down el-icon--right"></i>
      </span>
      <el-dropdown-menu slot="dropdown">
        <el-dropdown-item>修改密码</el-dropdown-item>
        <el-dropdown-item>退出登录</el-dropdown-item>
      </el-dropdown-menu>
    </el-dropdown>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  components: {},
};
</script>

<style scoped>
.header-logo {
  vertical-align: middle;
  padding-right: 10px;
}
.header-title {
  color: #fff;
  vertical-align: middle;
  font-size: 16px;
}
.el-dropdown{
    float: right;
    color : #fff;
}
</style>
